package com.xtyhz.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 用户登录返回数据
 */
@Data
@Schema(description = "用户登录返回数据")
public class UserLoginVO {
    
    @Schema(description = "用户授权令牌")
    private String token;
    
    @Schema(description = "用户信息")
    private UserInfoVO userInfo;
    
    @Data
    @Schema(description = "用户基本信息")
    public static class UserInfoVO {
        
        @Schema(description = "用户ID")
        private Long id;
        
        @Schema(description = "用户昵称")
        private String nickName;
        
        @Schema(description = "用户头像URL")
        private String avatarUrl;
        
        @Schema(description = "用户性别，0-未知，1-男，2-女")
        private Integer gender;
        
        @Schema(description = "用户所在国家")
        private String country;
        
        @Schema(description = "用户所在省份")
        private String province;
        
        @Schema(description = "用户所在城市")
        private String city;
    }
} 